<?php

use yii\db\Migration;

class m231104_123104_diandi_hub_account_member extends Migration
{
    public function up()
    {
        /* 取消外键约束 */
        $this->execute('SET foreign_key_checks = 0');
        
        /* 创建表 */
        $this->createTable('{{%diandi_hub_account_member}}', [
            'id' => "int(11) NOT NULL AUTO_INCREMENT",
            'bloc_id' => "int(11) NULL COMMENT '公司ID'",
            'store_id' => "int(11) NULL COMMENT '商户ID'",
            'member_id' => "int(11) NULL COMMENT '会员ID'",
            'self_money' => "decimal(11,2) NOT NULL COMMENT '个人奖金'",
            'self_withdraw' => "decimal(11,2) NOT NULL COMMENT '个人已提现'",
            'self_freeze' => "decimal(11,2) NOT NULL COMMENT '个人冻结'",
            'team_money' => "decimal(11,2) NOT NULL COMMENT '团队奖金'",
            'team_withdraw' => "decimal(11,2) NOT NULL COMMENT '团队奖金提现'",
            'team_freeze' => "decimal(11,2) NOT NULL COMMENT '团队奖金冻结'",
            'store_money' => "decimal(11,2) NOT NULL COMMENT '店铺收益'",
            'store_withdraw' => "decimal(11,2) NOT NULL COMMENT '店铺可提现'",
            'store_freeze' => "decimal(11,2) NOT NULL COMMENT '店铺收益冻结'",
            'agent_money' => "decimal(11,2) NOT NULL COMMENT '代理收益'",
            'agent_withdraw' => "decimal(11,2) NOT NULL COMMENT '代理可提现'",
            'agent_freeze' => "decimal(11,2) NOT NULL COMMENT '代理奖金冻结'",
            'water_money' => "decimal(11,2) NULL",
            'water_withdraw' => "decimal(11,2) NULL",
            'water_freeze' => "decimal(11,2) NULL",
            'create_time' => "int(11) NULL COMMENT '注册时间'",
            'update_time' => "int(11) NULL COMMENT '更新时间'",
            'PRIMARY KEY (`id`)'
        ], "ENGINE=InnoDB  DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC");
        
        /* 索引设置 */
        $this->createIndex('member_id','{{%diandi_hub_account_member}}','member_id',0);
        
        
        /* 表数据 */
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'1','bloc_id'=>'31','store_id'=>'0','member_id'=>'4694','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1648634946','update_time'=>'1648634946']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'2','bloc_id'=>'31','store_id'=>'0','member_id'=>'4695','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1648635084','update_time'=>'1648635084']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'3','bloc_id'=>'33','store_id'=>'0','member_id'=>'58','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1649744455','update_time'=>'1649744455']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'4','bloc_id'=>'33','store_id'=>'0','member_id'=>'4946','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1650435069','update_time'=>'1650435069']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'5','bloc_id'=>'33','store_id'=>'0','member_id'=>'4945','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1650435648','update_time'=>'1650435648']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'6','bloc_id'=>'33','store_id'=>'0','member_id'=>'4947','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1650442440','update_time'=>'1650442440']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'7','bloc_id'=>'33','store_id'=>'0','member_id'=>'11270','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1650878575','update_time'=>'1650878575']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'8','bloc_id'=>'33','store_id'=>'0','member_id'=>'11271','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1650878669','update_time'=>'1650878669']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'9','bloc_id'=>'33','store_id'=>'0','member_id'=>'11285','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1650886027','update_time'=>'1650886027']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'10','bloc_id'=>'31','store_id'=>'0','member_id'=>'11395','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1651737811','update_time'=>'1651737811']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'11','bloc_id'=>'33','store_id'=>'0','member_id'=>'4688','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1651806876','update_time'=>'1651806876']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'12','bloc_id'=>'33','store_id'=>'0','member_id'=>'11396','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1651810080','update_time'=>'1651810080']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'13','bloc_id'=>'31','store_id'=>'0','member_id'=>'11398','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1651899351','update_time'=>'1651899351']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'14','bloc_id'=>'31','store_id'=>'0','member_id'=>'11400','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1652119586','update_time'=>'1652119586']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'15','bloc_id'=>'30','store_id'=>'0','member_id'=>'11254','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1652165129','update_time'=>'1652165129']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'16','bloc_id'=>'31','store_id'=>'0','member_id'=>'11399','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653014692','update_time'=>'1653014692']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'17','bloc_id'=>'30','store_id'=>'0','member_id'=>'11499','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653634554','update_time'=>'1653634554']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'18','bloc_id'=>'30','store_id'=>'0','member_id'=>'4951','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653648157','update_time'=>'1653648157']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'19','bloc_id'=>'30','store_id'=>'0','member_id'=>'11616','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653649721','update_time'=>'1653649721']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'20','bloc_id'=>'30','store_id'=>'0','member_id'=>'11248','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653652196','update_time'=>'1653652196']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'21','bloc_id'=>'31','store_id'=>'0','member_id'=>'11617','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653701169','update_time'=>'1653701169']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'22','bloc_id'=>'30','store_id'=>'0','member_id'=>'4949','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653965479','update_time'=>'1653965479']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'23','bloc_id'=>'30','store_id'=>'0','member_id'=>'11301','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1653982059','update_time'=>'1653982059']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'24','bloc_id'=>'30','store_id'=>'0','member_id'=>'7045','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654069978','update_time'=>'1654069978']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'25','bloc_id'=>'30','store_id'=>'0','member_id'=>'6023','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654070569','update_time'=>'1654070569']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'26','bloc_id'=>'31','store_id'=>'0','member_id'=>'11625','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654585760','update_time'=>'1654585760']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'27','bloc_id'=>'30','store_id'=>'0','member_id'=>'11631','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654694572','update_time'=>'1654694572']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'28','bloc_id'=>'30','store_id'=>'0','member_id'=>'11297','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654763332','update_time'=>'1654763332']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'29','bloc_id'=>'30','store_id'=>'0','member_id'=>'11634','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654845205','update_time'=>'1654845205']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'30','bloc_id'=>'30','store_id'=>'0','member_id'=>'11635','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654852402','update_time'=>'1654852402']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'31','bloc_id'=>'30','store_id'=>'0','member_id'=>'11640','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1654876697','update_time'=>'1654876697']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'32','bloc_id'=>'30','store_id'=>'0','member_id'=>'11647','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655015235','update_time'=>'1655015235']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'33','bloc_id'=>'30','store_id'=>'0','member_id'=>'11672','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655171861','update_time'=>'1655171861']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'34','bloc_id'=>'30','store_id'=>'0','member_id'=>'11657','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655176028','update_time'=>'1655176028']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'35','bloc_id'=>'30','store_id'=>'0','member_id'=>'11299','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655268782','update_time'=>'1655268782']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'36','bloc_id'=>'31','store_id'=>'0','member_id'=>'11692','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655723055','update_time'=>'1655723055']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'37','bloc_id'=>'31','store_id'=>'0','member_id'=>'12070','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655775747','update_time'=>'1655775747']);
        $this->insert('{{%diandi_hub_account_member}}',['id'=>'38','bloc_id'=>'31','store_id'=>'0','member_id'=>'12074','self_money'=>'0.00','self_withdraw'=>'0.00','self_freeze'=>'0.00','team_money'=>'0.00','team_withdraw'=>'0.00','team_freeze'=>'0.00','store_money'=>'0.00','store_withdraw'=>'0.00','store_freeze'=>'0.00','agent_money'=>'0.00','agent_withdraw'=>'0.00','agent_freeze'=>'0.00','water_money'=>NULL,'water_withdraw'=>NULL,'water_freeze'=>NULL,'create_time'=>'1655870053','update_time'=>'1655870053']);
        
        /* 设置外键约束 */
        $this->execute('SET foreign_key_checks = 1;');
    }

    public function down()
    {
        $this->execute('SET foreign_key_checks = 0');
        /* 删除表 */
        $this->dropTable('{{%diandi_hub_account_member}}');
        $this->execute('SET foreign_key_checks = 1;');
    }
}

